// 备件财务对账单
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 查询对账单列表
export const queryPartFinancialStatementList = params => axios.get(`${SERVER.DMSCLOUD_PART}/accountCheck/getAccountCheckList`, { params });

// 根据id查询对账单详情
export const queryPartFinancialStatementDetailById = params => axios.get(`${SERVER.DMSCLOUD_PART}/accountCheck/getAccountCheckById`, { params });

// 保存对账单
export const savePartFinancialStatementDetailById = params => axios.post(`${SERVER.DMSCLOUD_PART}/accountCheck/saveAccountCheck`, params);

// 对账单上传
export const uploadPartFinancialStatement = params => axios.post(`${SERVER.DMSCLOUD_PART}/accountCheck/uploadAccountCheck`, params);

// 获取全部员工列表
export const queryAllSaler = params => axios.get(`${SERVER.DMSCLOUD_BASEDATA}/basedata/users/getDealerUser`, params);
